module.exports = function(sequelize){
    var Sequelize = require('sequelize');
    var Doctor = sequelize.define('doctor',{
        docName:{
            type:Sequelize.STRING,
            primaryKey:true,
            allowNull:false
        },
        docIntroduction:{
            type:Sequelize.STRING
        },
        docDeptBelong:{
            type:Sequelize.STRING
        },
        docConsultingRoomBelong:{
            type:Sequelize.STRING
        }
    },{
        freezeTableName: true,
        timestamps: false
    });
    return Doctor;
};